import os


def getPath(filename):
    rootPath = os.path.dirname(os.path.dirname(__file__))
    path = os.path.join(rootPath, 'datas', filename)
    return path

def get_log_path():
    rootPath = os.path.dirname(os.path.dirname(__file__))
    path = os.path.join(rootPath, 'logs')
    return path


if __name__ == '__main__':
    print(getLogPath())
